import { Propmpt } from "@/types";

export interface SendMessage {
  text: string;
  propmpt: Propmpt;
}

export type chatType = "answer" | "question";
export interface chatItem {
  id: string;
  type: chatType;
  text: string;
  icon?: string;
  propmpt?: Propmpt;
  visible: boolean;
}

export interface Answer {
  text: string | void;
  done: boolean | undefined;
}
